<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="/Public/css/pintuer.css">
<link rel="stylesheet" href="/Public/css/admin.css">
<script src="/Public/js/jquery.js"></script>
<script src="/Public/js/pintuer.js"></script>
<script type="text/javascript" charset="utf-8" src="/Public/ue/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/Public/ue/ueditor.all.min.js"> </script>
<script type="text/javascript" charset="utf-8" src="/Public/ue/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head"><strong class="icon-reorder"> 厦门概况</strong></div>
  <!-- <div class="padding border-bottom">  
    <a class="button border-yellow" href="<?php echo U('Admin/addAdv');?>" target="right"><span class="icon-plus-square-o"></span> 添加内容</a>
  </div> -->
  <form method="post" action="" enctype="multipart/form-data">
    <table class="table table-hover text-center">

        <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#edf5ff'">
            <td align="right" valign="middle" class="borderright borderbottom bggray">标题名称：</td>
            <td align="left" valign="middle" class="borderright borderbottom main-for">
            <input type="text" name="title" value="<?php echo ($data["title"]); ?>" class="input" >
            </td>
          </tr>
          <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#edf5ff'">
            <td align="right" valign="middle" class="borderright borderbottom bggray">厦门简介：</td>
            <td align="left" valign="middle" class="borderright borderbottom main-for">
              <!-- <input type="text" name="introduction" value="<?php echo ($data["introduction"]); ?>" class="text-word" > -->
                <script id="editor1" name="introduction" type="text/plain" style="width:800px;height:300px;"><?php echo (htmlspecialchars_decode($data["introduction"])); ?></script>
            </td>
          </tr>
          <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#edf5ff'">
            <td align="right" valign="middle" class="borderright borderbottom bggray">厦门文化：</td>
            <td align="left" valign="middle" class="borderright borderbottom main-for">
            <!-- <input type="text" name="culture" value="<?php echo ($data["culture"]); ?>" class="text-word" > -->
            <script id="editor2" name="culture" type="text/plain" style="width:800px;height:300px;"><?php echo (htmlspecialchars_decode($data["culture"])); ?></script>
            </td>
          </tr>
          <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#edf5ff'">
            <td align="right" valign="middle" class="borderright borderbottom bggray">厦门历史：</td>
            <td align="left" valign="middle" class="borderright borderbottom main-for">
            <!-- <input type="text" name="history" value="<?php echo ($data["history"]); ?>" class="text-word" > -->
            <script id="editor3" name="history" type="text/plain" style="width:800px;height:300px;"><?php echo (htmlspecialchars_decode($data["history"])); ?></script>
            </td>
          </tr>
          <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#edf5ff'">
            <td align="right" valign="middle" class="borderright borderbottom bggray">简介图片：</td>
            <td align="left" valign="middle" class="borderright borderbottom main-for">
            <input type="file" name="file1" value="" class=""> <img src="<?php echo ($data["img1"]); ?>" alt="" width="200" height="100" /> 如不上传新文件，则默认原有文件！
            </td>
          </tr>
          <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#edf5ff'">
            <td align="right" valign="middle" class="borderright borderbottom bggray">文化图片：</td>
            <td align="left" valign="middle" class="borderright borderbottom main-for">
            <input type="file" name="file2" value="" class=""> <img src="<?php echo ($data["img2"]); ?>" alt="" width="200" height="100" /> 如不上传新文件，则默认原有文件！
            </td>
          </tr>
          <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#edf5ff'">
            <td align="right" valign="middle" class="borderright borderbottom bggray">历史图片：</td>
            <td align="left" valign="middle" class="borderright borderbottom main-for">
            <input type="file" name="file3" value="" class=""> <img src="<?php echo ($data["img3"]); ?>" alt="" width="200" height="100" /> 如不上传新文件，则默认原有文件！
            </td>
          </tr>
          <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#edf5ff'">
            <td align="right" valign="middle" class="borderright borderbottom bggray">&nbsp;</td>
            <td align="left" valign="middle" class="borderright borderbottom main-for">
            <input name="" type="submit" value="提交" class="button bg-main icon-check-square-o">
            <input name="" type="reset" value="重置" class="button bg-main icon-check-square-o"></td>
            </tr>
      
    </table>
  </form>
</div>
<script type="text/javascript">
    //导入ue第四步:实例化编辑器
    var ue1 = UE.getEditor('editor1');
    var ue2 = UE.getEditor('editor2');
    var ue3 = UE.getEditor('editor3');

    $(function(){
        $('#btnSubmit').on('click',function(){
            $('form').submit();
        });
        $('#btnReset').on('click',function(){
            $('form')[0].reset();
        });
    });

    $(".select-title").on("click",function(){
      $(".select-list").toggle();
      return false;
    });
    $(".select-list").on("click","li",function(){
      var txt = $(this).text();
      $(".select-title").find("span").text(txt);
    });
    showRemind('input[type=text], textarea','placeholder');
</script>

</body></html>